package org.edu.modules.terminal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import org.jeecgframework.poi.excel.annotation.Excel;

@TableName("ve_cuz_terminal_course")
@ApiModel(value="ve_cuz_terminal_course对象", description="课程管理")
public class VeCuzTerminalCourse
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("主键ID，自增长")
    private Integer id;
    @Excel(name="课程ID", width=15.0D)
    @ApiModelProperty("课程ID")
    private Integer courseid;
    @Excel(name="课程名称", width=15.0D)
    @ApiModelProperty("课程名称")
    private Integer coursename;
    @Excel(name="是否已经共享到云端（0=未共享，1=已共享,2=已提交）", width=15.0D)
    @ApiModelProperty("是否已经共享到云端（0=未共享，1=已共享,2=已提交）")
    private Integer iscloudshared;
    @Excel(name="是否是从云平台使用的课程（0=自建课程，1=云共享课程）", width=15.0D)
    @ApiModelProperty("是否是从云平台使用的课程（0=自建课程，1=云共享课程）")
    private Integer iscloudpush;
    @Excel(name="云共享课程ID", width=15.0D)
    @ApiModelProperty("云共享课程ID")
    private Integer cloudcourseid;
    @Excel(name="回收状态：0=未回收，1=已回收（1云课程回收，课程状态设置回收，终端云课程总数减一）", width=15.0D)
    @ApiModelProperty("回收状态：0=未回收，1=已回收（1云课程回收，课程状态设置回收，终端云课程总数减一）")
    private Integer isrecover;
    @Excel(name="最后更新时间", width=15.0D)
    @ApiModelProperty("最后更新时间")
    private Integer updatetime;
    @Excel(name="创建时间", width=15.0D)
    @ApiModelProperty("创建时间")
    private Integer createtime;
    @Excel(name="是否建设完成（0=未完成，1=已完成）", width=15.0D)
    @ApiModelProperty("是否建设完成（0=未完成，1=已完成）")
    private Integer isfinished;
    @Excel(name="是否被删除：0=未删除，1=已删除", width=15.0D)
    @ApiModelProperty("是否被删除：0=未删除，1=已删除")
    private Integer isdelete;
    @Excel(name="审核人", width=15.0D)
    @ApiModelProperty("审核人")
    private Integer verifyuser;
    @Excel(name="审核时间", width=15.0D)
    @ApiModelProperty("审核时间")
    private Integer verifytime;
    @Excel(name="审核状态（0=待审核，1=审核通过，2=审核不通过）", width=15.0D)
    @ApiModelProperty("审核状态（0=待审核，1=审核通过，2=审核不通过）")
    private Integer verifystatus;
    @Excel(name="审核不通过的原因", width=15.0D)
    @ApiModelProperty("审核不通过的原因")
    private String reason;
    @Excel(name="终端ID", width=15.0D)
    @ApiModelProperty("终端ID")
    private Integer terminalid;
    @Excel(name="所属专业ID", width=15.0D)
    @ApiModelProperty("所属专业ID")
    private Integer depId;
    @Excel(name="是否共享（0不共享，1共享），默认0。如果共享，则可在其他项目空间可调用此门课程", width=15.0D)
    @ApiModelProperty("是否共享（0不共享，1共享），默认0。如果共享，则可在其他项目空间可调用此门课程")
    private Integer isshared;
    @Excel(name="关联模型代码: xmsite=项目课程，portal=专业课程", width=15.0D)
    @ApiModelProperty("关联模型代码: xmsite=项目课程，portal=专业课程")
    private String rowmodel;
    @Excel(name=" 关联模型记录ID，可以为0", width=15.0D)
    @ApiModelProperty(" 关联模型记录ID，可以为0")
    private Integer rowid;
    @Excel(name="多租户id", width=15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeid;

    public VeCuzTerminalCourse setCoursename(Integer coursename)
    {
        this.coursename = coursename;return this;
    }

    public VeCuzTerminalCourse setCourseid(Integer courseid)
    {
        this.courseid = courseid;return this;
    }

    public VeCuzTerminalCourse setId(Integer id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeCuzTerminalCourse(id=" + getId() + ", courseid=" + getCourseid() + ", coursename=" + getCoursename() + ", iscloudshared=" + getIscloudshared() + ", iscloudpush=" + getIscloudpush() + ", cloudcourseid=" + getCloudcourseid() + ", isrecover=" + getIsrecover() + ", updatetime=" + getUpdatetime() + ", createtime=" + getCreatetime() + ", isfinished=" + getIsfinished() + ", isdelete=" + getIsdelete() + ", verifyuser=" + getVerifyuser() + ", verifytime=" + getVerifytime() + ", verifystatus=" + getVerifystatus() + ", reason=" + getReason() + ", terminalid=" + getTerminalid() + ", depId=" + getDepId() + ", isshared=" + getIsshared() + ", rowmodel=" + getRowmodel() + ", rowid=" + getRowid() + ", placeid=" + getPlaceid() + ")";
    }

    public VeCuzTerminalCourse setPlaceid(Integer placeid)
    {
        this.placeid = placeid;return this;
    }

    public VeCuzTerminalCourse setRowid(Integer rowid)
    {
        this.rowid = rowid;return this;
    }

    public VeCuzTerminalCourse setRowmodel(String rowmodel)
    {
        this.rowmodel = rowmodel;return this;
    }

    public VeCuzTerminalCourse setIsshared(Integer isshared)
    {
        this.isshared = isshared;return this;
    }

    public VeCuzTerminalCourse setDepId(Integer depId)
    {
        this.depId = depId;return this;
    }

    public VeCuzTerminalCourse setTerminalid(Integer terminalid)
    {
        this.terminalid = terminalid;return this;
    }

    public VeCuzTerminalCourse setReason(String reason)
    {
        this.reason = reason;return this;
    }

    public VeCuzTerminalCourse setVerifystatus(Integer verifystatus)
    {
        this.verifystatus = verifystatus;return this;
    }

    public VeCuzTerminalCourse setVerifytime(Integer verifytime)
    {
        this.verifytime = verifytime;return this;
    }

    public VeCuzTerminalCourse setVerifyuser(Integer verifyuser)
    {
        this.verifyuser = verifyuser;return this;
    }

    public VeCuzTerminalCourse setIsdelete(Integer isdelete)
    {
        this.isdelete = isdelete;return this;
    }

    public VeCuzTerminalCourse setIsfinished(Integer isfinished)
    {
        this.isfinished = isfinished;return this;
    }

    public VeCuzTerminalCourse setCreatetime(Integer createtime)
    {
        this.createtime = createtime;return this;
    }

    public VeCuzTerminalCourse setUpdatetime(Integer updatetime)
    {
        this.updatetime = updatetime;return this;
    }

    public VeCuzTerminalCourse setIsrecover(Integer isrecover)
    {
        this.isrecover = isrecover;return this;
    }

    public VeCuzTerminalCourse setCloudcourseid(Integer cloudcourseid)
    {
        this.cloudcourseid = cloudcourseid;return this;
    }

    public VeCuzTerminalCourse setIscloudpush(Integer iscloudpush)
    {
        this.iscloudpush = iscloudpush;return this;
    }

    public VeCuzTerminalCourse setIscloudshared(Integer iscloudshared)
    {
        this.iscloudshared = iscloudshared;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $courseid = getCourseid();result = result * 59 + ($courseid == null ? 43 : $courseid.hashCode());Object $coursename = getCoursename();result = result * 59 + ($coursename == null ? 43 : $coursename.hashCode());Object $iscloudshared = getIscloudshared();result = result * 59 + ($iscloudshared == null ? 43 : $iscloudshared.hashCode());Object $iscloudpush = getIscloudpush();result = result * 59 + ($iscloudpush == null ? 43 : $iscloudpush.hashCode());Object $cloudcourseid = getCloudcourseid();result = result * 59 + ($cloudcourseid == null ? 43 : $cloudcourseid.hashCode());Object $isrecover = getIsrecover();result = result * 59 + ($isrecover == null ? 43 : $isrecover.hashCode());Object $updatetime = getUpdatetime();result = result * 59 + ($updatetime == null ? 43 : $updatetime.hashCode());Object $createtime = getCreatetime();result = result * 59 + ($createtime == null ? 43 : $createtime.hashCode());Object $isfinished = getIsfinished();result = result * 59 + ($isfinished == null ? 43 : $isfinished.hashCode());Object $isdelete = getIsdelete();result = result * 59 + ($isdelete == null ? 43 : $isdelete.hashCode());Object $verifyuser = getVerifyuser();result = result * 59 + ($verifyuser == null ? 43 : $verifyuser.hashCode());Object $verifytime = getVerifytime();result = result * 59 + ($verifytime == null ? 43 : $verifytime.hashCode());Object $verifystatus = getVerifystatus();result = result * 59 + ($verifystatus == null ? 43 : $verifystatus.hashCode());Object $terminalid = getTerminalid();result = result * 59 + ($terminalid == null ? 43 : $terminalid.hashCode());Object $depId = getDepId();result = result * 59 + ($depId == null ? 43 : $depId.hashCode());Object $isshared = getIsshared();result = result * 59 + ($isshared == null ? 43 : $isshared.hashCode());Object $rowid = getRowid();result = result * 59 + ($rowid == null ? 43 : $rowid.hashCode());Object $placeid = getPlaceid();result = result * 59 + ($placeid == null ? 43 : $placeid.hashCode());Object $reason = getReason();result = result * 59 + ($reason == null ? 43 : $reason.hashCode());Object $rowmodel = getRowmodel();result = result * 59 + ($rowmodel == null ? 43 : $rowmodel.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeCuzTerminalCourse;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeCuzTerminalCourse)) {
            return false;
        }
        VeCuzTerminalCourse other = (VeCuzTerminalCourse)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$courseid = getCourseid();Object other$courseid = other.getCourseid();
        if (this$courseid == null ? other$courseid != null : !this$courseid.equals(other$courseid)) {
            return false;
        }
        Object this$coursename = getCoursename();Object other$coursename = other.getCoursename();
        if (this$coursename == null ? other$coursename != null : !this$coursename.equals(other$coursename)) {
            return false;
        }
        Object this$iscloudshared = getIscloudshared();Object other$iscloudshared = other.getIscloudshared();
        if (this$iscloudshared == null ? other$iscloudshared != null : !this$iscloudshared.equals(other$iscloudshared)) {
            return false;
        }
        Object this$iscloudpush = getIscloudpush();Object other$iscloudpush = other.getIscloudpush();
        if (this$iscloudpush == null ? other$iscloudpush != null : !this$iscloudpush.equals(other$iscloudpush)) {
            return false;
        }
        Object this$cloudcourseid = getCloudcourseid();Object other$cloudcourseid = other.getCloudcourseid();
        if (this$cloudcourseid == null ? other$cloudcourseid != null : !this$cloudcourseid.equals(other$cloudcourseid)) {
            return false;
        }
        Object this$isrecover = getIsrecover();Object other$isrecover = other.getIsrecover();
        if (this$isrecover == null ? other$isrecover != null : !this$isrecover.equals(other$isrecover)) {
            return false;
        }
        Object this$updatetime = getUpdatetime();Object other$updatetime = other.getUpdatetime();
        if (this$updatetime == null ? other$updatetime != null : !this$updatetime.equals(other$updatetime)) {
            return false;
        }
        Object this$createtime = getCreatetime();Object other$createtime = other.getCreatetime();
        if (this$createtime == null ? other$createtime != null : !this$createtime.equals(other$createtime)) {
            return false;
        }
        Object this$isfinished = getIsfinished();Object other$isfinished = other.getIsfinished();
        if (this$isfinished == null ? other$isfinished != null : !this$isfinished.equals(other$isfinished)) {
            return false;
        }
        Object this$isdelete = getIsdelete();Object other$isdelete = other.getIsdelete();
        if (this$isdelete == null ? other$isdelete != null : !this$isdelete.equals(other$isdelete)) {
            return false;
        }
        Object this$verifyuser = getVerifyuser();Object other$verifyuser = other.getVerifyuser();
        if (this$verifyuser == null ? other$verifyuser != null : !this$verifyuser.equals(other$verifyuser)) {
            return false;
        }
        Object this$verifytime = getVerifytime();Object other$verifytime = other.getVerifytime();
        if (this$verifytime == null ? other$verifytime != null : !this$verifytime.equals(other$verifytime)) {
            return false;
        }
        Object this$verifystatus = getVerifystatus();Object other$verifystatus = other.getVerifystatus();
        if (this$verifystatus == null ? other$verifystatus != null : !this$verifystatus.equals(other$verifystatus)) {
            return false;
        }
        Object this$terminalid = getTerminalid();Object other$terminalid = other.getTerminalid();
        if (this$terminalid == null ? other$terminalid != null : !this$terminalid.equals(other$terminalid)) {
            return false;
        }
        Object this$depId = getDepId();Object other$depId = other.getDepId();
        if (this$depId == null ? other$depId != null : !this$depId.equals(other$depId)) {
            return false;
        }
        Object this$isshared = getIsshared();Object other$isshared = other.getIsshared();
        if (this$isshared == null ? other$isshared != null : !this$isshared.equals(other$isshared)) {
            return false;
        }
        Object this$rowid = getRowid();Object other$rowid = other.getRowid();
        if (this$rowid == null ? other$rowid != null : !this$rowid.equals(other$rowid)) {
            return false;
        }
        Object this$placeid = getPlaceid();Object other$placeid = other.getPlaceid();
        if (this$placeid == null ? other$placeid != null : !this$placeid.equals(other$placeid)) {
            return false;
        }
        Object this$reason = getReason();Object other$reason = other.getReason();
        if (this$reason == null ? other$reason != null : !this$reason.equals(other$reason)) {
            return false;
        }
        Object this$rowmodel = getRowmodel();Object other$rowmodel = other.getRowmodel();return this$rowmodel == null ? other$rowmodel == null : this$rowmodel.equals(other$rowmodel);
    }

    public Integer getId()
    {
        return this.id;
    }

    public Integer getCourseid()
    {
        return this.courseid;
    }

    public Integer getCoursename()
    {
        return this.coursename;
    }

    public Integer getIscloudshared()
    {
        return this.iscloudshared;
    }

    public Integer getIscloudpush()
    {
        return this.iscloudpush;
    }

    public Integer getCloudcourseid()
    {
        return this.cloudcourseid;
    }

    public Integer getIsrecover()
    {
        return this.isrecover;
    }

    public Integer getUpdatetime()
    {
        return this.updatetime;
    }

    public Integer getCreatetime()
    {
        return this.createtime;
    }

    public Integer getIsfinished()
    {
        return this.isfinished;
    }

    public Integer getIsdelete()
    {
        return this.isdelete;
    }

    public Integer getVerifyuser()
    {
        return this.verifyuser;
    }

    public Integer getVerifytime()
    {
        return this.verifytime;
    }

    public Integer getVerifystatus()
    {
        return this.verifystatus;
    }

    public String getReason()
    {
        return this.reason;
    }

    public Integer getTerminalid()
    {
        return this.terminalid;
    }

    public Integer getDepId()
    {
        return this.depId;
    }

    public Integer getIsshared()
    {
        return this.isshared;
    }

    public String getRowmodel()
    {
        return this.rowmodel;
    }

    public Integer getRowid()
    {
        return this.rowid;
    }

    public Integer getPlaceid()
    {
        return this.placeid;
    }
}
